﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using XModel;

namespace XWeb
{
    public partial class imageitem : Code.Page.UIBasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public void add()
        {
            EImageItem item = new EImageItem();
            item.sTitle = this.GetValue(EImageItem.KET_TITLE);
            item.sPath = this.GetValue(EImageItem.KET_PATH);
            item.nCount = int.Parse(this.GetValue(EImageItem.KET_COUNT));
            item.nViewScore = int.Parse(this.GetValue(EImageItem.KET_SCORE));
            
            bool bRet = XDAL.tbImageItem.It.Insert(item);
        }
    }
}